package com.cicadasmall;

import com.cicadasmall.support.annotation.CicadasMallApplication;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@CicadasMallApplication
public class CicadasMallLauncher extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(CicadasMallLauncher.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(CicadasMallLauncher.class);
    }


}
